package top.wshape1.rpc.test.demo1.service;

import top.wshape1.rpc.model.User;
import top.wshape1.rpc.service.HelloService;
import top.wshape1.rpc.spring.annotation.JJService;

/**
 * @author Wshape1
 * @version 1.0
 * @description
 * @since 2024-02-20
 */

@JJService
public class HelloServiceImpl implements HelloService {

    @Override
    public String sayHello(User user) {
        return "Hello " + user.getName() + "! --from Demo1, User=" + user;
    }
}
